package com.ywgt.service;

import com.github.pagehelper.Page;
import com.ywgt.pojo.GrouponRules;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yiping
 * @since 2021-03-13
 */
public interface GrouponRulesService extends IService<GrouponRules> {

    Page<GrouponRules> getGrouponRules(Integer rulesId, int page, int limit, String sort, String order);

    List<Map<String,Object>> getGroupRulesAndGoods(int i, int limit);

    List getByGoodsId(Integer id);
}
